package com.share.design.visit.demo01;

/**
 * @author caifan
 * @since 2022/11/12
 */
public class DLinkRouter implements Router {
    @Override
    public void sendData(char[] data) {
        System.out.println("DLink send data");
    }

    @Override
    public void accept(RouterVistor v) {
        v.visit(this);
    }
}
